<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML常用标签示例</title>

    <style>

        .divstyle{
            width:100px;
            height:100px;
            background:green;

        }

        p{
            color:white
        }
    </style>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">











    </script>
</head>
<body>
  <button onclick="show()"></button>
    <div class="box1"></div>
    <div class="box2"></div>
    <div class="box3"></div>

<script>
    function show(){
        var name="张三";
        console.log(`w微微${name}`)

        const l="12345"
        const v=[1,2,3,5,6,7]
        n=v.splice(2,2)
        console.log(n)



    }

    //获取值
    $(".box1").prop("class")
    //设置值
    $(".box1").prop({id :"class1"})

</script>
</body>
</html>